package cn.cmdr.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ReturnGoods {

	/**
	 * 单号
	 */
	private Integer id;

	private Integer orderId;

	/**
	 * 退货原因
	 */
	private Integer returnReasonId;

	/**
	 * 退货状态
	 */
	private Integer state;

	/**
	 * 申请时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
	private Date applicationTime;

	/**
	 * 处理时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
	private Date processingTime;

	private String userCode;

	private Integer orderItemId;

	/**
	 * 问腿描述
	 */
	private String describ;

	/**
	 * 退货备注
	 */
	private String remarks;

	/**
	 * 订单金额
	 */
	private Double orderAmount;

	/**
	 * 退款金额
	 */
	private Double refundAmount;

	/**
	 * 收货点
	 */
	private String receivingPoint;

	/**
	 * 处理人员
	 */
	private String handler;

	/**
	 * 凭证图片
	 */
	private String voucherPicture;

	/**
	 * 收货人
	 */
	private String consignee;

	/**
	 *收货时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
	private Date receivingTime;

	/**
	 * 收货备注
	 */
	private String receivingRemarks;

	/**
	 * 退货次数
	 */
	private Integer cishu;

	private OrderItem orderItem;

	private Order order;

	private ReturnReason returnReason;
}
